<section id="content">
    <section id="posts">
        <article>
            <header>
                <h2><?php echo $this->post['title'] ?></h2>
            </header>
            <?php echo $this->removeCutTag($this->post['blog_post']) ?>
            <p class="date"><?php echo $this->post['created_at'] ?></p>
        </article>
    </section> <!-- posts -->
    <section id="comments">
        <header>
            <h3>Комменты:</h3>
        </header>
<?php if (empty($this->comments)) : ?>
        <article>
            <p>Комментов нет</p>
        </article>
<?php else : foreach ($this->comments as $comment) : ?>
        <article>
    <?php if (!empty($comment['url'])) : ?>
            <header>
                <h5><a href="<?php echo $comment['url'] ?>"><?php echo $this->escape($comment['name']) ?></a></h5>
            </header>
    <?php else : ?>
            <header>
                <h5><?php echo $this->escape($comment['name']) ?></h5>
            </header>
    <?php endif ?>
            <p><?php echo $comment['blog_comment'] ?></p>
            <p class="date"><?php echo $comment['created_at'] ?></p>
        </article>
<?php endforeach; endif ?>
    </section> <!-- comments -->
</section> <!-- content -->

<section id="comment_form">
    <header>
        <h3>Оставить коммент:</h3>
    </header>
    <?php echo $this->form ?>
</section> <!-- comment_form -->